package org.cresource.product.service;

import org.cresource.basic.service.IBaseService;
import org.cresource.product.domain.Product;
import org.cresource.product.domain.ProductDetail;

import java.util.List;
import java.util.Map;

public interface IProductService extends IBaseService<Product> {

    ProductDetail getDetailByProductId(Long productId);

    void onOrOffSale(Map<String,Object> map);
}
